package com.xxxy.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author StevenShen
 * @date 2022/3/12 13:06
 */
@Data
@JsonIgnoreProperties("handler")
public class ReviewedPaperListResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("试卷id")
    private Integer paperId;

    @ApiModelProperty(value = "试卷名称")
    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "考试时间")
    private Date examTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "考试结束时间")
    private Date endTime;

    @ApiModelProperty(value = "试题题号列表")
    private List<Integer> questionIndex;

    @JsonIgnore
    @ApiModelProperty("教师账号")
    private String teacherAccount;

    @ApiModelProperty("课程名")
    private String courseName;

    @ApiModelProperty("学院名")
    private String facultyName;

    // @ApiModelProperty("已批阅份数")
    // private Integer reviewedCount;
    //
    // @ApiModelProperty("总份数")
    // private Integer totalCount;

}
